package com.site.wisdom_construction.service.iotModule;

import com.site.wisdom_construction.dao.iotModule.RealTimePersonDao;
import com.site.wisdom_construction.entity.iotModule.RealTimePerson;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/3/10
 * @Description
 */
@Service
public class RealTimePersonService implements RealTimePersonDao {
    @Autowired
    private RealTimePersonDao realTimePersonDao;

    @Override
    public int insertRealTimePerson(Map map) {
        return realTimePersonDao.insertRealTimePerson(map);
    }

    @Override
    public List<RealTimePerson> findRealTimePersonByAll(Map map) {
        return realTimePersonDao.findRealTimePersonByAll(map);
    }

    @Override
    public List<RealTimePerson> findRealTimePersonByThree(Map map) {
        return realTimePersonDao.findRealTimePersonByThree(map);
    }

    @Override
    public RealTimePerson findRealTimePersonByGid(Map map) {
        return realTimePersonDao.findRealTimePersonByGid(map);
    }

    @Override
    public RealTimePerson findRealTimePersonByNew(Map map) {
        return realTimePersonDao.findRealTimePersonByNew(map);
    }

    @Override
    public int countRealTimePersonR(Map map) {
        return realTimePersonDao.countRealTimePersonR(map);
    }

    @Override
    public int countRealTimePersonC(Map map) {
        return realTimePersonDao.countRealTimePersonC(map);
    }

    @Override
    public List<RealTimePerson> findRealTimePersonByNow() {
        return realTimePersonDao.findRealTimePersonByNow();
    }

    @Override
    public int deleteRealTimePerson(Integer id) {
        return realTimePersonDao.deleteRealTimePerson(id);
    }

    @Override
    public List<RealTimePerson> findRealTimePersonByWorkerName(Map map) {
        return realTimePersonDao.findRealTimePersonByWorkerName(map);
    }

    @Override
    public List<RealTimePerson> findRealTimePersonAll(Map map) {
        return realTimePersonDao.findRealTimePersonAll(map);
    }

    @Override
    public List<RealTimePerson> findRealTimePersonByPage(Map map) {
        return realTimePersonDao.findRealTimePersonByPage(map);
    }

    @Override
    public long Total(Map map) {
        return realTimePersonDao.Total(map);
    }
}
